package com.qf.ts.platform.front.service;

import com.qf.ts.platform.commons.bean.User;
import com.qf.ts.platform.commons.pojo.R;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

public interface UserService {

    Integer addUser(User user);

    User findUser(User user);

    User getUserByUser(User user);

    List<String> selectRolesByUid(Integer id);

    List<String> selectPermissionsByUid(Integer id);
}
